package com.fix.taobao.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 订单
 *
 */
public class Orders {
	
	private int orderid;
	private int userId;
	private String number;
	private Date createTime;
	private String node;
	
	//订单明细
	private List<OrderDetail> detailList=new ArrayList<OrderDetail>();

	public int getOrderid() {
		return orderid;
	}

	public void setOrderid(int orderid) {
		this.orderid = orderid;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getNode() {
		return node;
	}

	public void setNode(String node) {
		this.node = node;
	}

	public List<OrderDetail> getDetailList() {
		return detailList;
	}

	public void setDetailList(List<OrderDetail> detailList) {
		this.detailList = detailList;
	}

	@Override
	public String toString() {
		return "Orders [orderid=" + orderid + ", userId=" + userId + ", number=" + number + ", detailList=" + detailList
				+ "]\n";
	}

}
